using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 增值（或称统筹）投资
    /// </summary>
    [Table("bank_增值投资", "bank__zeng_zhi_tou_zi", "id")]
    [Serializable]
    public class BankZengZhiTouZiModel : Rsd.Faith.Core.ModelBase
    {
        /// <summary>
        /// 开户行名称
        /// </summary>
        [StringType("yin_hang_ming_cheng", "支出银行名称", 20, 100)]
        [DisplayName("支出银行名称")]
        public string YinHangMingCheng { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        [StringType("yin_hang_zhang_hao", "银行账号", 21, 20)]
        [DisplayName("银行账号")]
        public string YinHangZhangHao { get; set; }


        /// <summary>
        /// 开始日期
        /// </summary>
        [StringType("kai_shi_ri_qi", "开始日期", 22, 256)]
        [DisplayName("开始日期")]
        public string KaiShiRiQi { get; set; }

        /// <summary>
        /// 到期日期
        /// </summary>
        [StringType("dao_qi_ri_qi", "到期日期", 24, 256)]
        [DisplayName("到期日期")]
        public string DaoQiRiQi { get; set; }

        /// <summary>
        /// 本金
        /// </summary>
        [NumericType("ben_jin", "本金", 26, 20, 2)]
        [DisplayName("本金")]
        public decimal BenJin { get; set; }

        /// <summary>
        /// 本金类型:住房,电梯消防设施
        /// </summary>
        [StringType("ben_jin_lei_xin", "本金类型", 27, 20)]
        [DisplayName("本金类型")]
        public BankBenJinLeiXin BenJinLeiXin { get; set; }

        /// <summary>
        /// 预期利率
        /// </summary>
        [NumericType("yu_qi_li_lv", "预期利率", 28, 20, 2)]
        [DisplayName("预期利率")]
        public decimal YuQiLiLv { get; set; }

        /// <summary>
        /// 月数
        /// </summary>
        [IntegerType("yue_shu", "月数", 30, 10)]
        [DisplayName("月数")]
        public int YueShu { get; set; }

        /// <summary>
        /// 预计收益
        /// </summary>
        [NumericType("yu_ji_shou_yi", "预计收益", 32, 20, 2)]
        [DisplayName("预计收益")]
        public decimal YuJiShouYi { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 34, 10, "DJ")]
        [DisplayName("状态")]
        public TouZiZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 结算收益
        /// </summary>
        [NumericType("jie_suan_shou_yi", "结算收益", 36, 20, 2)]
        [DisplayName("结算收益")]
        public decimal JieSuanShouYi { get; set; }

        /// <summary>
        /// 结算本息合计
        /// </summary>
        [NumericType("jie_suan_ben_xi_he_ji", "结算本息合计", 38, 20, 2)]
        [DisplayName("结算本息合计")]
        public decimal JieSuanBenXiHeJi { get; set; }

        /// <summary>
        /// 结算日期
        /// </summary>
        [StringType("jie_suan_ri_qi", "结算日期", 40, 256)]
        [DisplayName("结算日期")]
        public string JieSuanRiQi { get; set; }

        /// <summary>
        /// 投资方式
        /// </summary>
        [StringType("tou_zi_fang_shi", "投资方式", 42, 10)]
        [DisplayName("投资方式")]
        public string TouZiFangShi { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BankZengZhiTouZiModel()
        { }

    }
}
